package com.danco.planner.sortings.sortby;

import java.util.Comparator;

import com.danco.planner.sortings.compareby.ICompareByCoursesCount;

public class SortByCoursesCount implements Comparator<ICompareByCoursesCount> {


	@Override
	public int compare(ICompareByCoursesCount o1, ICompareByCoursesCount o2) {
		return o1.getCoursesCountForCompare().compareTo(o2.getCoursesCountForCompare());
	}

}
